<!DOCTYPE html>
<html>
<head>
    <!-- 设置字符编码 -->
    <meta charset="UTF-8">
    <!-- 禁止移动端页面缩放 -->
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
    <!-- 阻止浏览器缓存页面内容 -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=8">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <!-- 设置样式表 -->
    <title>正在检查登录。。。</title>
</head>
<body>
    <script>
        let value = localStorage.getItem("use_flag");
        if (value == 'true') {
            // 跳转到主页
            window.location.href = '/main.html';
        } else {
            // 跳转到加载页
            localStorage.setItem("use_flag", "true");   // 在加载页没开发出来之前，可以使用这行代码添加使用标志
            window.location.href = '/webpage_copy/loads.html';
        }
    </script>
</body>
</html>
